From 14ec30451823dd5e05bb24dbc8fc807780ede2c7 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 18 Oct 2006 22:37:51 +0000 Subject: [PATCH] Change icon type for KML position writer when we don't -really- have a fix. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2406 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/kml.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index c68738c42..7bbfcec7e 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -811,7 +811,12 @@ kml_wr_position(waypoint *wpt) /* We want our waypoint to have a name, but not our trackpoint */ if (!wpt->shortname) { - wpt->shortname = xstrdup("Position"); + if (wpt->fix == fix_none) { + wpt->shortname = xstrdup("ESTIMATED Position"); + wpt->icon_descr = "http://maps.google.com/mapfiles/kml/pal3/icon59.png"; + } else { + wpt->shortname = xstrdup("Position"); + } } if (!trk_head) { -- 2.30.2